Title: Final Fantasy IV - 3D Magic
Author: PowerPanda
Version: 2.0
Applies to: Final Fantasy IV Advance (U).gba
SHA-1: 0C60D3D949A8689CBE0BFD2B83B1498D5EB1A8B3

FF4A 3D Magic US.ips - Apply to the US/North rom
FF4A 3D Magic EU.ips - Apply to the European rom

--------------------------------------------------------------------------------
-=Intro and Description=-
Final Fantasy IV has been released many times, and today, there are 2 main versions of it:
the 2D version and the 3D version. The 3D version took the liberty of expanding a few
characters' magic spell list to make them a bit more versatile. The 3 differences are:
1. Cecil gains Protect, Shell, and Life
2. Rydia, as a child, gains Confuse, Esuna, Cura, and Life
3. Edge gains 3 more Ninjutsu: Gale, Frost, and Quake

Sadly, Edge's new abilities do not exist in the GBA game's code. However, all of Cecil
and Rydia's magic is readily available. This patch adds the new spells to their list.
Since characters gain levels at different rates between the 2 versions of the game, 
levels are given that make sense within the 2D version's progression.

--------------------------------------------------------------------------------
-=Version 2.0=-

Version 2.0 of this patch contains a port of the changes to the European rom, courtesy
of EvilJagaGenius.

--------------------------------------------------------------------------------
-=Cecil's White Magic=-
Lvl	Spell
0	Cure
3	Sight
8	Libra
10*	Protect
15	Cura
19	Teleport
22*	Shell
27	Esuna
30*	Life

-=Rydia's White Magic=-
Lvl	Spell
3	Cure
4	Sight
7	Hold
9*	Confuse
11*	Esuna
14*	Cura
16*	Life

--------------------------------------------------------------------------------
-=Instructions for Patching=-

Apply "FF4A 3D Magic.ips" to Final Fantasy IV Advance (U) using your favorite IPS program.
My favorite is Lunar IPS.

--------------------------------------------------------------------------------

Credits

Hacking - PowerPanda
EU Version - EvilJagaGenius

Programs Used
HxD Hex Editor
--------------------------------------------------------------------------------
Code Changes

Rydia's white magic list has been moved to free space starting at EE540. Cecil's and
Rosa's lists have been shifted into the space freed up by moving Rydia's list, from
EE7C0 to EE818.

Pointers for each list have been adjusted at the following addresses:
EE620 (Rosa Initial Magic)
EE630 (Rydia Initial Magic)
EE700 (Rosa Learned Magic)
EE710 (Rydia Learned Magic)
EE7A0 (Cecil Learned Magic)